package com.f5.management.entity.dto;

import com.f5.management.entity.Building;
import com.f5.management.entity.Community;
import com.f5.management.entity.User;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author: xuange
 * @date: 2021/4/7 15:28
 * @description:
 */
@Data
@Accessors(chain = true)
public class RealEstateUserDto {
    private int id;             //id
    private int cid;
    private int rid;
    private int bid;
    private String serialNumber;//房产编码
    private String name;        //房产名称
    private int rooms;          //房间数
    private int unit;           //单元
    private int floor;          //楼层
    private String represent;    //描述
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT" + 24)
    private Date createTime;    //入住时间
    private String building;    //栋数
    private String community;   //小区
    private String memberName;
    private String phone;
}
